package com.ruoyi.sycs.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.core.validate.QueryGroup;
import com.ruoyi.sycs.domain.vo.BaFanganDetailVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小数点方案管理业务对象 sycs_bs_fangan_info
 *
 * @author zyb
 * @date 2024-10-17
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BsFanganInfoBo extends BaseEntity {

    /**
     * 方案id
     */
    @NotNull(message = "方案id不能为空", groups = { EditGroup.class })
    private Long fanganId;

    /**
     * 所属试验室id
     */
    @NotNull(message = "所属试验室id不能为空", groups = { AddGroup.class, EditGroup.class, QueryGroup.class })
    private Long deptId;

    /**
     * 当前试验室默认标识
     */
    private Integer defaultFlag;

    /**
     * excel类型id
     */
    @NotNull(message = "excel类型id不能为空", groups = { AddGroup.class, EditGroup.class, QueryGroup.class })
    private Long excelTypeId;

    /**
     * 是否系统默认
     */
    private String sysYesNo;

    /**
     * 方案名称
     */
    @NotBlank(message = "方案名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fanganName;

    /**
     * 备注
     */
    private String remark;

    /**
     *
     */
    private Long syTypeId;

    /**
     *
     */
    private String label;

    /**
     * 详细内容
     */
    List<BaFanganDetailVo> detailVos;

    /**
     * excelId,用于查询某个excelId当前使用的方案
     */
    private Long excelId;


}
